cmake_minimum_required(VERSION 3.5.0)

set(exe_name faker_engine)
project(engine)

set(CMAKE_CXX_STANDARD 17)

set(local_src

    App.cpp
    System.cpp
    System.cpp
    Serializer.cpp
    Generator.cpp
    
)

add_executable(${exe_name} main.cpp ${local_src})

find_package(GL)
find_package(dl)
find_package(pthread)
find_package(glfw3)
find_package(ogl-gut)
find_package(ogl-math)
find_package(ogl-model)
find_package(ogl-imgui)
find_package(faker_scene_engine)
find_package(faker_render_engine)
find_package(faker_basic_engine)

add_subdirectory(ui)

target_link_libraries(${exe_name} 
    ogl-gut 
    GL 
    glfw3
    dl 
    pthread
    ogl-math 
    ogl-model 
    ogl-imgui 
    faker_engine_ui
    faker_basic_engine
    faker_scene_engine 
    faker_render_engine
    )
